package com.lb.shopguide.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import org.json.JSONObject;

import java.io.Serializable;

/**
 * Created by kang on 2018/3/2.
 */

public class BossMessageBean implements Serializable, MultiItemEntity {
    /**
     * "appMsgCode": "5e8c12bfe47f44b491e9050387e220e2",
     * "msgItemTypeCode": 322, // 会员新增月报
     * "msgIconUrl": null,
     * "msgTitle": "18年01月份新增月报",
     * "msgContent": "2018年01月份新增：0人",
     * "msgLinkUrl": "https://www.baidu.com?appMsgCode=5e8c12bfe47f44b491e9050387e220e2&msgItemTypeCode=322",
     * "createTime": "2018-02-27 16:55:00"
     */

    private String appMsgCode;
    private int msgItemTypeCode;
    private String msgIconUrl;
    private String msgTitle;
    private String msgContent;
    private MsgAttachedContent msgAttachedContent;
    private String msgLinkUrl;
    private String createTime;

    public String getAppMsgCode() {
        return appMsgCode;
    }

    public void setAppMsgCode(String appMsgCode) {
        this.appMsgCode = appMsgCode;
    }

    public int getMsgItemTypeCode() {
        return msgItemTypeCode;
    }

    public void setMsgItemTypeCode(int msgItemTypeCode) {
        this.msgItemTypeCode = msgItemTypeCode;
    }

    public String getMsgIconUrl() {
        return msgIconUrl;
    }

    public void setMsgIconUrl(String msgIconUrl) {
        this.msgIconUrl = msgIconUrl;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public void setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public String getMsgLinkUrl() {
        return msgLinkUrl;
    }

    public void setMsgLinkUrl(String msgLinkUrl) {
        this.msgLinkUrl = msgLinkUrl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public int getItemType() {
        return msgItemTypeCode;
    }

    public MsgAttachedContent getMsgAttachedContent() {
        return msgAttachedContent;
    }

    public void setMsgAttachedContent(MsgAttachedContent msgAttachedContent) {
        this.msgAttachedContent = msgAttachedContent;
    }
}
